
        <h2 class="sub-header">标签管理</h2>
        <div class="table-responsive">
          <a class="btn btn-success pull-right" href="#" routerLink ="new">新增标签</a>
          <table class="table table-striped">
            <thead>
              <tr>
                <th>序号</th>
                <th>分类名称</th>
              </tr>
            </thead>
            <tbody>
              <tr *ngFor ="let tag of tags">
                <td>{{tag.id}}</td>
                <td>{{tag.title}}</td>
                <td>
                  <a href="#" [routerLink] ='["edit",tag.id]'>编辑</a>
                  <a href="#" (click)="removeTag(tag.id,$event)">删除</a>
                </td>
              </tr>
       
            </tbody>
          </table>
        </div>
     